package org.ziwei.paipan.var;

/**
 * 
 *
 */
public enum WuXing {
	JIN{
		public String getName(){
			return "金";
		}
		
		public int getNum(){
			return 4;
		}
	},
	MU{
		public String getName(){
			return "木";
		}
		
		public int getNum(){
			return 3;
		}
	},
	SHUI{
		public String getName(){
			return "水";
		}
		
		public int getNum(){
			return 2;
		}
	},
	HUO{
		public String getName(){
			return "火";
		}
		
		public int getNum(){
			return 6;
		}
	},
	TU{
		public String getName(){
			return "土";
		}
		
		public int getNum(){
			return 5;
		}
	};
	public String toString(){
		return getName() + getNum();
	}
	public abstract String getName();
	
	public abstract int getNum();
}
